﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IBM.Data.DB2;
using DataSync.DAL;
using DataSync.BLL;

namespace DataSync.Model
{
    public class CardAccounts : SyncBase
    {
        readonly string tDBString = System.Configuration.ConfigurationManager.AppSettings["dbName_CARD_ACCOUNTS"];

        readonly string isFullSyncByMonthOrDay = System.Configuration.ConfigurationManager.AppSettings["CardAccountsFullByMonthOrDay"];
       
        public CardAccounts()
        {
            base.Scheme = "dbo";
            base.SourceTableName = "CARD_ACCOUNTS";
            base.TargetTableName = tDBString + "." + Scheme + ".CARD_ACCOUNT";
            base.SyncType = 0;
            //1按天同步，0按月同步
            base.IsFullSyncByDay = isFullSyncByMonthOrDay == "1";
        }
    }
}
